﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 客户联系人表
    /// </summary>
    [Table("UserLeaseRelation")]
    public class UserLeaseRelation: AuditFiled<int>
    {
        [Display(Name = "联系人姓名")]
        [Column(TypeName = "Nvarchar(40)")]
        [Editable(true)]
        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string? Contactperson { get; set; }
        [Display(Name = "关系")]
        [Column(TypeName = "Nvarchar(40)")]
        [Editable(true)]
        /// <summary>
        /// 关系
        /// </summary>
        public string? Relation { get; set; }
        [Display(Name = "联系方式")]
        [Column(TypeName = "Nvarchar(40)")]
        [Editable(true)]
        /// <summary>
        /// 联系方式
        /// </summary>
        public string? Contactinformation { get; set; }
        /// <summary>
        /// 客户关联Id
        /// </summary>
        [Display(Name = "客户关联Id")]
        [Editable(true)]
        public int CustomerId { get; set; }
    }
}
